package Ch6;
public class ArryEx3 {

	public static void main(String[] args) {

		int[] arr = { 2, 4, 6, 8, 10 };

		int len = arr.length;

		System.out.println(len);

		System.out.println(arr[arr.length - 1]);

		System.out.println("-------------------");

		for (int i = 0; i < arr.length; i++) {
			System.out.println(arr[i]);
		}

	}

}
